import axios from '../http'

// 获取所有的考试类型
function getExamType() {
    return axios.get('/exam/examType')
}

// 获取所有的课程
function getSubjectType() {
    return axios.get('/exam/subject')
}

// 获取所有的试题类型
function getQuestionsType() {
    return axios.get('/exam/getQuestionsType')
}

// 添加试题接口
function postExamQuestions(pramas) {
    return axios.post('/exam/questions', {
        ...pramas
    })
}

export {
    getExamType,
    getSubjectType,
    getQuestionsType,
    postExamQuestions
}